package study.spring.transaction.anno;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TranscationAnnoMain {
	public static void main(String[] args) throws Exception{
		ApplicationContext context = new ClassPathXmlApplicationContext(
				"spring.xml", TranscationAnnoMain.class);
		JdbcAnnoService jdbcService;
		jdbcService = (JdbcAnnoService) context.getBean("jdbcAnnoService");
//		AnnoEditLink t=new AnnoEditLink();
//		jdbcService.insertRuntimeEx(t);
//		jdbcService.insertCheckEx(t);
		jdbcService.insertRuntimeEx();
	}
}
